package com.schoolgard.entitybean;

import java.util.List;

public class TreeDataModel {

	private String text;
	
	private String id ;
	
	private String userData; //传递业务数据
	
	private boolean hasChildren; //是否有孩子节点，懒加载的时候设置才能显示非子节点状态
	
	private List<TreeDataModel> children;

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<TreeDataModel> getChildren() {
		return children;
	}

	public void setChildren(List<TreeDataModel> children) {
		this.children = children;
	}

	public String getUserData() {
		return userData;
	}

	public void setUserData(String userData) {
		this.userData = userData;
	}

	public boolean isHasChildren() {
		return hasChildren;
	}

	public void setHasChildren(boolean hasChildren) {
		this.hasChildren = hasChildren;
	}
	
}
